LOCAL_PATH := $(call my-dir)
include $(CLEAR_VARS)

#All of the source files that we will compile.
LOCAL_SRC_FILES:= \
    dvb_jni.c

#All of the shared libraries  we link against.

LOCAL_SHARED_LIBRARIES :=
#    libicast_camusb \
#    libicast_ci

#Static libraries.
LOCAL_STATIC_LIBRARIES := \
	libicast_ci \
	libicast \
	libci \
	libfilter \
	libspts \
	libhttpd \
	libdec \
	libicast_loader \
	libicast_camusb
	
#Add the include path.
LOCAL_C_INCLUDES += \
    $(LOCAL_PATH)/../../service/dvb/include \
    $(LOCAL_PATH)/../../service/dvb/include/porting \
    $(LOCAL_PATH)/../../service/dvb/include/dvb_api \
    $(LOCAL_PATH)/../../service/ci/ciresource \
    $(LOCAL_PATH)/../../service/spts/include \
    $(LOCAL_PATH)/../../service/httpproxy \
    $(LOCAL_PATH)/../../service/loader/include \
	$(LOCAL_PATH)/../../service/dvb/src/charset \
    $(LOCAL_PATH)/../../service/dec/include

LOCAL_LDLIBS := -llog

#This is the target being built.
LOCAL_MODULE:= icast_base

include $(BUILD_SHARED_LIBRARY)
